#ifndef __NODE_H__
#define __NODE_H__

class PathPoint
{
public:
	PathPoint(int x, int y, int orient);
	PathPoint(int x_, int y_, int orientamento_, long fScore_, PathPoint *cameFrom_);
	PathPoint();

	void setPathPoint(int x_, int y_, int orientamento);
	int getX();
	int getY();
	int getAngle();
	PathPoint* getCameFrom();
	long getFScore();
	void reset(int x_, int y_, int orientamento_, long val, PathPoint* pos);
	void setCameFrom(PathPoint* pos);
	void reset(int x_, int y_, int orientamento_);
	void setFScore(long val);
	friend bool operator== (PathPoint &cP1, PathPoint &cP2);
	~PathPoint(void);
private:
	int x;
	int y;
	int angle;
	long fScore;
	PathPoint *cameFrom;
};
#endif
